<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>应用商城原型</title>
    <link
      href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css"
      rel="stylesheet"
    />
    <link
      rel="stylesheet"
      href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"
    />
    <style>
      body {
        margin: 0;
        padding: 20px;
        background-color: #f5f5f7;
        font-family: -apple-system, BlinkMacSystemFont, "San Francisco",
          Helvetica, Arial, sans-serif;
      }

      h2 {
        text-align: center;
        margin-bottom: 20px;
        font-size: 24px;
        font-weight: 600;
        color: #333;
      }

      .page-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(390px, 1fr));
        gap: 30px;
        justify-content: center;
      }

      .page-container {
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .page-title {
        margin-bottom: 10px;
        font-weight: 600;
        font-size: 18px;
        color: #333;
      }

      .iphone-wrapper {
        position: relative;
        width: 390px;
        height: 844px;
        border-radius: 50px;
        overflow: hidden;
        box-shadow: 0 0 0 10px #121212, 0 0 0 11px #2f2f2f,
          0 20px 50px rgba(0, 0, 0, 0.3);
        background-color: #000;
      }

      .iphone-notch {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 170px;
        height: 30px;
        background-color: #000;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        z-index: 10;
      }

      .iframe-container {
        width: 100%;
        height: 100%;
        overflow: hidden;
      }

      iframe {
        width: 100%;
        height: 100%;
        border: none;
      }
    </style>
  </head>
  <body>
    <h2>应用商城页面原型展示</h2>

    <div class="page-grid">
      <!-- 首页 -->
      <div class="page-container">
        <div class="page-title">首页</div>
        <div class="iphone-wrapper">
          <div class="iphone-notch"></div>
          <div class="iframe-container">
            <iframe src="pages/home.html"></iframe>
          </div>
        </div>
      </div>

      <!-- 发现页 -->
      <div class="page-container">
        <div class="page-title">发现</div>
        <div class="iphone-wrapper">
          <div class="iphone-notch"></div>
          <div class="iframe-container">
            <iframe src="pages/discover.html"></iframe>
          </div>
        </div>
      </div>

      <!-- 下载页 -->
      <div class="page-container">
        <div class="page-title">下载</div>
        <div class="iphone-wrapper">
          <div class="iphone-notch"></div>
          <div class="iframe-container">
            <iframe src="pages/downloads.html"></iframe>
          </div>
        </div>
      </div>

      <!-- 消息页 -->
      <div class="page-container">
        <div class="page-title">消息</div>
        <div class="iphone-wrapper">
          <div class="iphone-notch"></div>
          <div class="iframe-container">
            <iframe src="pages/messages.html"></iframe>
          </div>
        </div>
      </div>

      <!-- 个人中心页 -->
      <div class="page-container">
        <div class="page-title">个人中心</div>
        <div class="iphone-wrapper">
          <div class="iphone-notch"></div>
          <div class="iframe-container">
            <iframe src="pages/profile.html"></iframe>
          </div>
        </div>
      </div>

      <!-- 设置页 -->
      <div class="page-container">
        <div class="page-title">设置</div>
        <div class="iphone-wrapper">
          <div class="iphone-notch"></div>
          <div class="iframe-container">
            <iframe src="pages/settings.html"></iframe>
          </div>
        </div>
      </div>

      <!-- 应用详情页 -->
      <div class="page-container">
        <div class="page-title">应用详情</div>
        <div class="iphone-wrapper">
          <div class="iphone-notch"></div>
          <div class="iframe-container">
            <iframe src="pages/app_detail.html"></iframe>
          </div>
        </div>
      </div>

      <!-- 文章页 -->
      <div class="page-container">
        <div class="page-title">文章</div>
        <div class="iphone-wrapper">
          <div class="iphone-notch"></div>
          <div class="iframe-container">
            <iframe src="pages/article.html"></iframe>
          </div>
        </div>
      </div>

      <!-- 搜索页 -->
      <div class="page-container">
        <div class="page-title">搜索</div>
        <div class="iphone-wrapper">
          <div class="iphone-notch"></div>
          <div class="iframe-container">
            <iframe src="pages/search.html"></iframe>
          </div>
        </div>
      </div>
    </div>
  </body>
</html>
